<template>
	<view>
		 <rich-text :nodes="info.body"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id  : 3,
				info : []
			}
		},
		onLoad(e) {
			this.id = e.id;
			this.getall();
		},
		methods: {
			getall(){
				let that = this;
				that.$api.activityinfo({'id':that.id}).then(res=>{
					that.info = res.data.info;
					 document.title = that.info.name;
				})
			}
		}
	}
</script>

<style >
	img {
		width: 750rpx;
		height: 100%;
	}
</style>
